package com.example.zhengchaojun.arcgis;

import android.app.Activity;
import android.content.Context;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;
import android.widget.ToggleButton;

import com.esri.arcgisruntime.mapping.view.MapView;

/**
 * 资源绑定注册类
 */
public class ResourceConfig
{

    public Context context;
    private Activity activiy;

    public ResourceConfig(Context context)
    {
        this.context = context;
        this.activiy = (Activity) context;
        initConfig();
    }

    /**
     * 资源列表
     **/
    public MapView mapView = null;//地图控件
    public RelativeLayout compassView = null;//指北针控件
    public TextView txtMapScale = null;//比例尺
    public View baseWidgetView = null;//widget组件
    public ImageView imgCenterView = null;//中心十字叉
    public ToggleButton togbtnLocation = null;//定位按钮
    public TextView txtLocation = null;

    public LinearLayout baseWidgetToolsView;//widget组件工具列表


    /**
     * 初始化资源列表
     */
    private void initConfig()
    {
        this.mapView = (MapView) activiy.findViewById(R.id.mapView);
    }


}
